import Vue from 'vue'
import Router from 'vue-router'
import NotFound from "./views/NotFound"
import homm from './components/homm/homm'
import homms from './components/homm/homms'
import Top from './components/header_top/top'
import Left from './components/header_top/left'
import Search from './components/header_top/search'
import Right from './components/header_top/right'
import Footer from "components/footer/Footer";
import SiteFooter from "./components/footer/SiteFooter/SiteFooter";
import Slideshow from "./components/header/Slideshow";
import Progress from "./components/header/Progress";
import Index from "./views/Index";
/**
 * 测试页面 所有需要测试的组件都在这个页面注册测试
 * URL: http://localhost:8080/#/test
 */
import Test from "./views/Test";

Vue.use(Router);

export default new Router({
	routes: [
		{ path: "/", component: Index },
		{ path: "/Test", component: Test },
		{ path: "/Progress", component: Progress },
		{ path: "/Slideshow", component: Slideshow },
		{ path: "/homm", component: homm },
		{ path: "/homms", component: homms },
		{ path: "/Index", component: Index },
		{ path: "/Top", component: Top },
		{ path: "/Footer", component: Footer },
		{ path: "/eFooter", component: SiteFooter },
		{ path: "/left", componnent: Left },
		{ path: "/search", componnent: Search },
		{ path: "/right", component: Right },
		{path:"/*",component:NotFound}
	]
})
